import request from '@/utils/request'
// 列表
export function getList(data, page) {
    return request({
        url: '/Operations_sweep_package/sweep_package_list/' + (page ? page : 1),
        method: 'post',
        data: data
    })
}
// 获取分页
export function getPage(data) {
    return request({
        url: '/Operations_sweep_package/sweep_package_page',
        method: 'post',
        data: data
    })
}
export function getBrandList(data) {
    return request({
        url: '/General/get_brand_second',
        method: 'post',
        data: data
    })
}


// 获取编辑信息
export function getGrade(data) {
    return request({
        url: '/User_grade/grade_set',
        method: 'post',
        data: data
    })
}
// 新增编辑保存
export function savePackage(data, url) {
    return request({
        url: url,
        method: 'post',
        data: data
    })
}
